﻿using System;

namespace TestStepsEditor.Viewers
{
    internal class AttachmentViewer
    {
        public AttachmentViewer()
        {
            FileName = String.Empty;
            Comment = String.Empty;
            FileLocation = String.Empty;
            StepIndex = 0;
        }

        public AttachmentViewer(string fileName, string comment, string fileLocation, int stepIndex)
        {
            FileName = fileName.Replace("\n", "\r\n");
            Comment = comment;
            FileLocation = fileLocation;
            StepIndex = stepIndex;
        }

        public string FileName { get; set; }
        public string Comment { get; set; }
        public string FileLocation { get; set; }
        public int StepIndex { get; set; }
    }
}